package com.example.service;

import com.example.entity.Department;
import com.example.entity.example.DepartmentExample;
import com.example.entity.bo.CourseStudentResultBO;

import java.util.List;

public interface DepartmentService {
    Department getById(Integer id);

    List<Department> getByExampleWithLimit(DepartmentExample departmentExample, Integer i, Integer maxValue);

    List<CourseStudentResultBO> getCourseStudentResultByIdAndCourseId(String id,String courseId);

    long getCountByExample(DepartmentExample example);

    void add(Department department);

    void updateById(Department department);

    void removeById(Integer id);
}
